package com.qingcheng.domain;

import java.util.HashMap;
import java.util.Map;

public class LongToInteger {

    public static Map longToInteger(Map map){
        Map map1=new HashMap();

        Long placeSum = (Long) map.get("place_sum");
        map1.put("place_sum",placeSum.intValue());

        Long order_sum = (Long) map.get("order_sum");
        map1.put("order_sum",order_sum.intValue());

        Long single_number = (Long) map.get("single_number");
        map1.put("single_number",single_number.intValue());

        Object object = map.get("money_amount");
        Integer l= Integer.parseInt(String.valueOf(object ));
        Float money_amount= l.floatValue();
        map1.put("money_amount",money_amount.intValue());
        return map1;
    }
}
